package cn.ulc.store.entity.staff;
import lombok.Data;
import cn.ulc.store.entity.base.BaseModel;
import org.beetl.sql.core.annotatoin.Table;

import java.math.BigDecimal;
import java.util.List;

/*
* 
* gen by Jin 2019-05-29
*/
@Data
@Table(name="staff")
public class Staff extends BaseModel {

	/*
	登录名
	*/
	private String loginName ;


	/*
	姓名
	*/
	private String name ;
	/*
	密码
	*/
	private String password ;
	/*
	电话
	*/
	private String phone ;
	private String serviceCall ;

	private String remark ;

	private Boolean isAdmin;
	//身份 员工/骑手
	private String identity;

	private Long wxUserId;

	//透明字段
	List<StaffRole> roleList;

	Integer orderCount; // 总接单数
	BigDecimal deductTotal; // 佣金总额
	BigDecimal deductBalance; // 佣金余额

	String companyName;
	String companyLogo;
}
